﻿using XSerialization.Generator;

namespace XSerialization.Templates
{
    public partial class InterfaceTemplate
    {
        /// <summary>
        /// Interface informations
        /// </summary>
        public XsdComplexType Item { get; set; }

        /// <summary>
        /// Meta Informations
        /// </summary>
        public IFileMetaInfo MetaInfo { get; set; }

        /// <summary>
        /// Ctor
        /// </summary>
        /// <param name="item">Interface Item</param>
        /// <param name="metaInfo">Meta informations</param>
        public InterfaceTemplate(XsdComplexType item, IFileMetaInfo metaInfo)
        {
            Item = item;
            MetaInfo = metaInfo;
        }
    }
}
